package com.technoorbit.vbreakup;

import com.technoorbit.vbreakup.ImageAndTextAdapter;

import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.os.Bundle;
import android.widget.ListView;

public class SystemActivity extends BaseActivity {
	 ListView list;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.system);
        Context ctx = getApplicationContext();
		Resources res = ctx.getResources();

		String[] options = res.getStringArray(R.array.settings_text);
		TypedArray icons = res.obtainTypedArray(R.array.settings_icons);
		list=(ListView)findViewById(R.id.listItems);
		list.setAdapter(new ImageAndTextAdapter(ctx, R.layout.item,
				options, icons));
    }
}